package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.Article;
import com.jbp.model.ArticleLike;
import com.jbp.utils.PageUtils;
import java.util.Map;

/**
 * 动态(Article)表服务接口
 * @author cc
 * @since 2020-08-25 14:37:34
 */
public interface ArticleService extends IService<Article> {
    PageUtils queryPage(Map<String, Object> params);

    void add(Article article);

    void remove(Integer articleId);

    void like(ArticleLike articleLike);

    Object getArticleById(Integer userId, Integer articleId);
}